/**
 * @filename:PurReturnDetail Jan 23, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**   
 * @Description:TODO(采购退料详情实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_return_detail")
@ApiModel(value="t_pur_return_detail对象", description="采购退料详情表")
public class PurReturnDetail extends Model<PurReturnDetail> {

	private static final long serialVersionUID = 1737617523357544L;
	
	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;
    
    @TableField(value = "EntryId") 	
	@ApiModelProperty(name = "EntryId" , value = "金蝶单据体内码")
    private Long EntryId;
    
    @TableField(value = "MaterialNo") 	
	@ApiModelProperty(name = "MaterialNo" , value = "物料编码")
    private String MaterialNo;
    
    @TableField(value = "MaterialName") 	
	@ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String BillNo;
    
    @TableField(value = "Specification") 	
	@ApiModelProperty(name = "Specification" , value = "物料规格")
    private String Specification;
    
    @TableField(value = "BasicUnitNo") 	
	@ApiModelProperty(name = "BasicUnitNo" , value = "基本单位编码")
    private String BasicUnitNo;
    
    @TableField(value = "BasicUnitName") 	
	@ApiModelProperty(name = "BasicUnitName" , value = "基本单位名称")
    private String BasicUnitName;
    
    @TableField(value = "Lot") 	
	@ApiModelProperty(name = "Lot" , value = "批号")
    private String Lot;
    
    @TableField(value = "InfactQty") 	
	@ApiModelProperty(name = "InfactQty" , value = "实退数量")
    private Double InfactQty;
    
    @TableField(value = "StockNo") 	
	@ApiModelProperty(name = "StockNo" , value = "仓库编码 ")
    private String StockNo;
    
    @TableField(value = "StockName") 	
	@ApiModelProperty(name = "StockName" , value = "仓库名称")
    private String StockName;
    
    @TableField(value = "LocationnNo") 	
	@ApiModelProperty(name = "LocationnNo" , value = "仓位编码")
    private String LocationnNo;
    
    @TableField(value = "LocationName") 	
	@ApiModelProperty(name = "LocationName" , value = "仓位名称")
    private String LocationName;


    

	@Override
    public Serializable pkVal() {
        return this.Id;
    }

}
